package com.wuh.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.wuh.model.Teacher;

public interface TeacherService {

	Teacher login(Teacher teacher);
	
	Integer register(Teacher teacher);

	/**
	 * 修改老师的castle_class_num属性
	 *
	 * @param teacher_id
	 * @return
	 */
	void editTeacherCaslteNum(Integer teacher_id);

	int editTeacher(Teacher teacher);

	Teacher getTeacherById(Integer teacher_id);

	int editPasswordById(Teacher techer);

	/**
	 * 获取所有的teacher信息
	 *
	 * @return
	 */
	List<Teacher> getTeachers();

	PageInfo<Teacher> getTeachers(Teacher teacher);

	int delTeachers(Integer[] ids);

	int freezeTeachers(Integer[] ids);

	int unfreezeTeachers(Integer[] ids);

	int addTeacher(Teacher teacher);

    /**
     * 获取所有的teacher信息用于公开课预加载数据做查询条件参数
     *
     * @return
     */
    public List<Teacher> schTeachers();
}
